@import '@/app/styles/variables';

.modal {
    width: 704px;
    position: relative;
    padding: 56px 0px 56px 0px;
}

.arrow,
.arrow_reverse {
    position: absolute;
    top: 35%;
    cursor: pointer;
    z-index: 1000;
}

.arrow_reverse {
    transform: rotateY(180deg);
    right: 56px;
}

.arrow {
    left: 56px;
}

.slider {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.dots {
    margin-top: 16px;
    display: inline-flex !important;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    z-index: 5;
    list-style: none;
    text-align: center;

    li {
        position: relative;
        color: #337cec;
        display: inline-block;

        padding: 0;

        cursor: pointer;
    }

    button {
        font-size: 0;
        line-height: 0;

        display: block;

        width: 14px;
        height: 10px;

        cursor: pointer;

        border: 0;
        outline: none;
        background: transparent;
    }

    button:hover,
    button:focus {
        outline: none;
    }

    button:hover:before,
    button:focus:before {
        opacity: 1;
        color: black;
    }

    button:before {
        font-family: 'slick', serif;
        font-size: 8px;
        line-height: 20px;

        position: absolute;
        top: 0;
        left: 0;

        width: 20px;
        height: 20px;

        content: '•';
        text-align: center;

        opacity: 1;
        color: #e1e1e1;
    }
}

.main_container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.container {
    display: flex !important;
    flex-direction: column;
    gap: 40px;
    max-width: 592px;
    margin: 0 auto;
    border-radius: 1px solid black;


    .cover {
        width: 309px;
        align-self: center;
        border-top: 6px solid #F5F5F5;
        border-left: 6px solid #F5F5F5;
        position: relative;
        border-right: 6px solid #F5F5F5;
        padding: 0px 16px;
        background-image: linear-gradient(to top, rgb(255, 255, 255), rgba(255, 255, 255, 0));
        border-radius: 36px 36px 0px 0px;
    }

    section {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;

        p {
            text-align: center;
        }
    }
}


.action_block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 360px;
    align-items: center;
    justify-content: center;
    align-self: center;
    text-align: center;
}

.agree {
    font-size: 14px;
    color: #ABABAB
}

@include media(sm) {
    .agree {
        font-size: 12px
    }

    .modal {
        width: 100vw !important;
        padding: 0px;
        padding-bottom: calc(100% - 45vw);
    }

    .action_block {
        position: fixed;
        z-index: 10;
        bottom: 16px;
    }

    .container {
        .cover {
            width: 65%;
            height: 100%;
            padding: 0px 0px;
        }
    }
}